//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['The Stinkfoot Orchestra','Alberta Rose Theatre','Portland, OR','Friday','5/10/2024','9:00 PM','6311752','The-Stinkfoot-Orchestra-5-10-2024'],['Legendary Burlesque','Alberta Rose Theatre','Portland, OR','Saturday','5/11/2024','8:00 PM','6311753','Legendary-Burlesque-5-11-2024'],['Daniel Monroe','Alberta Rose Theatre','Portland, OR','Sunday','5/12/2024','7:00 PM','6311754','Daniel-Monroe-5-12-2024'],['Oregon Symphony','Alberta Rose Theatre','Portland, OR','Tuesday','5/14/2024','6:30 PM','6383694','Oregon-Symphony-5-14-2024'],['Burlesque Over Broadway','Alberta Rose Theatre','Portland, OR','Friday','5/17/2024','8:00 PM','6311756','Burlesque-Over-Broadway-5-17-2024'],['Afterglow Aerial Arts','Alberta Rose Theatre','Portland, OR','Saturday','5/18/2024','2:30 PM','6359003','Afterglow-Aerial-Arts-5-18-2024'],['Afterglow Aerial Arts','Alberta Rose Theatre','Portland, OR','Saturday','5/18/2024','7:00 PM','6359004','Afterglow-Aerial-Arts-5-18-2024'],['Shane Mauss','Alberta Rose Theatre','Portland, OR','Monday','5/20/2024','7:00 PM','6378600','Shane-Mauss-5-20-2024'],['John McEuen and The Circle Band','Alberta Rose Theatre','Portland, OR','Tuesday','5/21/2024','8:00 PM','6225900','John-McEuen-and-The-Circle-Band-5-21-2024'],['Science on Tap: Lava, Mudflows and Ash - Volcanoes In The Pacific Northwest','Alberta Rose Theatre','Portland, OR','Wednesday','5/22/2024','7:00 PM','6233771','Science-on-Tap--Lava--Mudflows-and-Ash---Volcanoes-In-The-Pacific-Northwest-5-22-2024'],['The Nowhere Band plays Sgt. Pepper and Abbey Road','Alberta Rose Theatre','Portland, OR','Thursday','5/30/2024','8:00 PM','6311757','The-Nowhere-Band-plays-Sgt--Pepper-and-Abbey-Road-5-30-2024'],['The Nowhere Band plays Sgt. Pepper and Abbey Road','Alberta Rose Theatre','Portland, OR','Friday','5/31/2024','8:00 PM','6311758','The-Nowhere-Band-plays-Sgt--Pepper-and-Abbey-Road-5-31-2024'],['The Nowhere Band plays Sgt. Pepper and Abbey Road','Alberta Rose Theatre','Portland, OR','Saturday','6/1/2024','8:00 PM','6311759','The-Nowhere-Band-plays-Sgt--Pepper-and-Abbey-Road-6-1-2024'],['The Nowhere Band plays Sgt. Pepper and Abbey Road','Alberta Rose Theatre','Portland, OR','Sunday','6/2/2024','5:00 PM','6311760','The-Nowhere-Band-plays-Sgt--Pepper-and-Abbey-Road-6-2-2024'],['Night Moves - Tribute To Bob Seger','Alberta Rose Theatre','Portland, OR','Friday','6/7/2024','8:00 PM','6311761','Night-Moves---Tribute-To-Bob-Seger-6-7-2024'],['Shane Koyczan','Alberta Rose Theatre','Portland, OR','Saturday','6/8/2024','7:00 PM','6383706','Shane-Koyczan-6-8-2024'],['Teddy Thompson','Alberta Rose Theatre','Portland, OR','Friday','6/14/2024','8:00 PM','6340557','Teddy-Thompson-6-14-2024'],['Dapperlesque','Alberta Rose Theatre','Portland, OR','Friday','6/21/2024','8:00 PM','6351641','Dapperlesque-6-21-2024'],['Science on Tap: Living With Wildfire - Perspectives From a Former Firefighter','Alberta Rose Theatre','Portland, OR','Wednesday','6/26/2024','7:00 PM','6311762','Science-on-Tap--Living-With-Wildfire---Perspectives-From-a-Former-Firefighter-6-26-2024'],['John Cruz','Alberta Rose Theatre','Portland, OR','Saturday','7/13/2024','8:00 PM','6378599','John-Cruz-7-13-2024'],['Chris Smither','Alberta Rose Theatre','Portland, OR','Thursday','7/18/2024','8:00 PM','6311763','Chris-Smither-7-18-2024'],['BOYeurism','Alberta Rose Theatre','Portland, OR','Saturday','7/20/2024','8:00 PM','6383703','BOYeurism-7-20-2024'],['Science on Tap','Alberta Rose Theatre','Portland, OR','Wednesday','7/24/2024','7:00 PM','6383699','Science-on-Tap-7-24-2024'],['Booklover's Burlesque','Alberta Rose Theatre','Portland, OR','Friday','7/26/2024','7:00 PM','6311765','Booklover-s-Burlesque-7-26-2024'],['Foolish Mortals - A Haunted Mansion Burlesque Cabaret','Alberta Rose Theatre','Portland, OR','Friday','10/4/2024','7:00 PM','6311768','Foolish-Mortals---A-Haunted-Mansion-Burlesque-Cabaret-10-4-2024'],['Foolish Mortals - A Haunted Mansion Burlesque Cabaret','Alberta Rose Theatre','Portland, OR','Saturday','10/5/2024','7:00 PM','6311769','Foolish-Mortals---A-Haunted-Mansion-Burlesque-Cabaret-10-5-2024'],['Foolish Mortals - A Haunted Mansion Burlesque Cabaret','Alberta Rose Theatre','Portland, OR','Sunday','10/6/2024','7:00 PM','6311770','Foolish-Mortals---A-Haunted-Mansion-Burlesque-Cabaret-10-6-2024'],['Ottmar Liebert & Luna Negra','Alberta Rose Theatre','Portland, OR','Tuesday','10/14/2070','8:00 PM','4379746','Ottmar-Liebert---Luna-Negra-10-14-2070']],'Alberta Rose Theatre','http://www.ticketnetwork.com/ticket/Alberta-Rose-Theatre-events.aspx');